import request from '@/utils/request'

// 申报类型列表
export function declarationTypeLists(params?: Record<string, any>) {
    return request.get({ url: '/declarationType/list', params })
}

// 申报类型详情
export function declarationTypeDetail(params: Record<string, any>) {
    return request.get({ url: '/declarationType/detail', params })
}

// 申报类型新增
export function declarationTypeAdd(params: Record<string, any>) {
    return request.post({ url: '/declarationType/add', params })
}

// 申报类型编辑
export function declarationTypeEdit(params: Record<string, any>) {
    return request.post({ url: '/declarationType/edit', params })
}

// 申报类型删除
export function declarationTypeDelete(params: Record<string, any>) {
    return request.post({ url: '/declarationType/del', params })
}
